<?php
	$taksasi  = $model->listTaksasi();
	$bulan = array(
		'januari',
		'februari',
		'maret',
		'april',
		'mei',
		'juni',
		'juli',
		'agustus',
		'september',
		'oktober',
		'november',
		'desember');
?>
<script type="text/javascript">
$(document).ready(function(){
	// validation config
	<?php require('library/js/validator/config.taksasi.js');?>	
});

</script>
<div class="title">Taksasi</div>
<form name="frm_<?=$subbagian;?>" id="frm_<?=$subbagian;?>" method="post" action="index.php?bagian=<?=$bagian;?>&subbagian=<?=$subbagian;?>&action=confirm">
    <ul>
    	<li><span>
            <label>Tahun:</label>
            <input type="text" id="tahun" name="tahun" value="2008"/>
        </span></li>
	</ul>
	<ul>
    <?php
	$no = 0;
	foreach($bulan as $b){
		$no++;
		$t = $taksasi[$b];
		$name = 'bulan_'.$no;
	?>
		<li><span>
            <label><?=ucfirst($b);?></label>
            <input type="text" id="<?=$name;?>" name="<?=$name;?>" value="<?=$t;?>"/>
        </span></li>
    <?php
	}
	?>
    </ul>
	<ul>
		<li class="header"><span>Simpan</span></li>
		<li class="button"><span>
			<input type="submit" name="submit" id="submit" value="Simpan Data" class="simpan"/>
		</span></li>
	</ul>
</form>